<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered" data-xsui-options="multipleSelect:false">
    <thead>
        <tr>
            <th>商品名称</th>
            <th>数量</th>
            <th>价格</th>
            <th>小计</th>
            <th>现库存</th>
            <th>原库存</th>
            <th>类型</th>
            <th>备注</th>
            <th>操作员</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.product_title}</td>
            <td>{$vo.number}</td>
            <td>{$vo.price}</td>
            <td>{$vo.subtotal}</td>
            <td>{$vo.new_stock}</td>
            <td>{$vo.old_stock}</td>
            <td>{$vo.operate_type|sofn_get_state_text='product-invoicing-operate-type',###}({$vo.direction_type|sofn_get_state_text='invoicing-direction',###})</td>
            <td>{$vo.remark}</td>
            <td>{$vo.user_name}</td>
            <td>{$vo.create_time}</td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:U('remark_edit','id='.$vo['id'])}" class="xsui-lnk-edit-dialog" data-id="{$vo.id}" title="编辑备注 {$vo.title}"><i class="fa fa-edit fa-fw"></i>编辑备注</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>